﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace Hanhud.Web
{
    public enum ENickType
    {
        /// <summary>
        /// Nick skype
        /// </summary>
        [DescriptionAttribute("Skype")]
        Skype = 2,
        /// <summary>
        /// Nick yahoo
        /// </summary>
        [DescriptionAttribute("Yahoo messenger")]
        Yahoo = 1,
        /// <summary>
        /// Nick live messenger
        /// </summary>
        [DescriptionAttribute("Live messenger")]
        Live  = 4,
        /// <summary>
        /// Nick google talk
        /// </summary>
        [DescriptionAttribute("Google Talk")]
        GTalk = 8
    }

    public struct CDepartment
    {
        public int DepartmentID;
        public string Title;

        public CDepartment(int departmentID, string title)
        {
            this.DepartmentID = departmentID;
            this.Title = title;
        }
    }

    public struct CNick
    {
        public int NickID;
        public ENickType NickType;
        public string NickName;

        public CNick(int nickID, ENickType nickType, string nickName)
        {
            this.NickID = nickID;
            this.NickName = nickName;
            this.NickType = nickType;
        }
    }
}
